	<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		 
			

  <meta name="twitter:card" content="summary" />
  
  
    <meta name="twitter:creator" content="@韩雨"/>
  
  <meta name="twitter:title" content="sam的小窝"/>
  <meta name="twitter:description" content="学习 &amp;nbsp;&amp;bull;&amp;nbsp; 生活"/>
  
    <meta name="twitter:image" content="https://www.samrainhan.com/images/avatar.png" />
  


		
		<meta name="author" content="韩雨">
		<meta name="description" content="学习 &amp;nbsp;&amp;bull;&amp;nbsp; 生活">
		<meta name="generator" content="Hugo 0.52" />
		<title>sam的小窝</title>
		<link rel="shortcut icon" href="https://www.samrainhan.com/images/favicon.ico">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/style.css">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/highlight.css">

		
		<link rel="stylesheet" href="https://www.samrainhan.com/css/font-awesome.min.css">
		

		
		<link href="https://www.samrainhan.com/index.xml" rel="alternate" type="application/rss+xml" title="sam的小窝" />
		

		
	</head>

	<body>
    <nav class="main-nav">
	
	
	<a href='https://www.samrainhan.com/posts'>Archive</a>
	<a href='https://www.samrainhan.com/tags'>Tags</a>
	<a href='https://www.samrainhan.com/about'>About</a>

	

	
	<a class="cta" href="https://www.samrainhan.com/index.xml">Subscribe</a>
	
</nav>


    <div class="profile">
    <section id="wrapper">
        <header id="header">
            <a href='https://www.samrainhan.com/about'>
                <img id="avatar" class="2x" src="https://www.samrainhan.com/images/avatar.png"/>
            </a>
            <h1>sam的小窝</h1>
            <h2>学习 &amp; 生活</h2>
        </header>
    </section>
</div>


    <section id="wrapper" class="home">
        <ul id="post-list">
    
    
        
            <li>
                <aside class="dates">Jul 18</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-18-optimizing-web-site-performance/'>
                    优化Web网站性能
                    
                        
                            <h2>静态文件名称上加上版本号或者md5值，并且设置过期时间为最大（一般为1年），这样可以消灭304，减少网络流量</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 17</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-17-bdd-example/'>
                    BDD example
                    
                        
                            <h2>一般模式 Given When Then 例子 添加图书到购物车并计算总额 Given 书A价值30.5元 And 书B价值25.8元 When 我选择书A And 我点击了&#34;添加到购物车&#34;</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 16</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-16-business-cooperation-in-the-market/'>
                    业务合作中的市场执行
                    
                        
                            <h2>我们之所以将业务合作称为项目，无论是业务合作方式是互为代理、发展兼职团队、成立新的销售公司、发展产业微联盟还是运营外包，整体计划都会发生人员</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 15</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-15-set-cookie-is-httponly/'>
                    设置cookie为HttpOnly
                    
                        
                            <h2>对于 .NET 2.0 应用可以在web.config中启用 HttpOnly &lt;httpCookies httpOnlyCookies=&#34;true&#34;&gt;</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 14</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-14-icon-query-website/'>
                    图标查询网站
                    
                        
                            <h2>https://www.iconfinder.com/ https://thenounproject.com/</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 13</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-13-iis-session-state-session-state/'>
                    会话状态Session State
                    
                        
                            <h2>InProc InProc选项支持在进程内保存会话状态，实际上是在w3wp.exe工作进程中保存会话状态。这意味着保存会话状态数据将分别保存在每台服务器</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 12</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-12-the-difference-between-build-and-rebuild-in-visualstudio/'>
                    VisualStudio Build和Rebuild的区别
                    
                        
                            <h2>Rebuild是对Solution下的所有项目，逐个进行 Clean&#43;Build。 Build只是针对有更改过的文件进行编译。 Clean&#43;Bui</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 11</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-11-codefile-and-codebehide-difference/'>
                    CodeFile和CodeBehide的区别
                    
                        
                            <h2>CodeBehind 指定包含与页关联的类的已编译文件的名称,编译完后所有cs中的代码打包进dll.该属性不能在运行时使用.提供此属性是为了与以前版本的 ASP.NET 的兼容</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 10</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-10-encrypted-password/'>
                    加密密码
                    
                        
                            <h2>具体的做法就是在密码中加入一段”随机化”的字符串,然后再进行哈希化.这样就将原来的同样明文映射到同样密文的规则打乱了</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Jul 9</aside>
                <a href='https://www.samrainhan.com/posts/2016-07-09-form-design/'>
                    表单设计
                    
                        
                            <h2>表单的元素 标签：告诉用户表单问题是什么； 输入框：供给用户填写答案信息； 动作：用户提交表单，即用户点击一个按钮或链接，执行一个操作； 帮助文字：</h2>
                        
                    
                </a>
            </li>
        
    
</ul>

        <nav id="post-nav">
    
        
        <span class="prev">
            <a href="/page/7/">
                <span class="arrow">←</span> Newer Posts
            </a>
        </span>
        
        
        <span class="next">
            <a href="/page/9/">
                Older Posts <span class="arrow">→</span>
            </a>
        </span>
        
    
</nav>
        <footer id="footer">
    
        <div id="social">

	
	
    <a class="symbol" href="">
        <i class="fa fa-facebook-square"></i>
    </a>
    
    <a class="symbol" href="https://github.com/samrain">
        <i class="fa fa-github-square"></i>
    </a>
    
    <a class="symbol" href="">
        <i class="fa fa-twitter-square"></i>
    </a>
    


</div>

    
    <p class="small">
    
       © Copyright 2019 <i class="fa fa-heart" aria-hidden="true"></i> 韩雨
    
    </p>
    <p class="small">
        Powered by <a href="http://www.gohugo.io/">Hugo</a> Theme By <a href="https://github.com/nodejh/hugo-theme-cactus-plus">nodejh</a>
    </p>
</footer>

    </section>

    <script src="https://www.samrainhan.com/js/jquery-3.3.1.min.js"></script>
<script src="https://www.samrainhan.com/js/main.js"></script>
<script src="https://www.samrainhan.com/js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>




  
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
	ga('create', 'UA-37708730-1', 'auto');
	
	ga('send', 'pageview');
}
</script>





    </body>
</html>
